import requests

url = 'https://weibo.com/ajax/side/hotSearch'
response = requests.get(url)
response.encoding = response.apparent_encoding
print(response.status_code)
# print(response.text)
data = response.json()
for i in data['data']['realtime']:
    print(i['note'])